package com.wrx.club_management_backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wrx.club_management_backend.common.CommonEntity;
import lombok.Data;

import java.util.List;

@Data
@TableName("tb_allocation_notice")
public class AllocationNotice extends CommonEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id; /* id */

    private Long clubId; /* 社团id */

    private String title; /* 批款标题 */

    private Long amount; /* 批款金额 */

    private String tags; /* 资金类型 */

    private String description; /* 批款说明 */

    private int stat; /* 1：已批款  0：已结项*/

    @TableField(exist = false)
    private List<AllocationRequest> list;
}
